add_executable(ServiceTest test_kvcache-service.cpp)

target_include_directories(ServiceTest PRIVATE
        ${CUDA_INC_DIR}
        ${COMMON_DIR}/include
)

target_link_libraries(ServiceTest
        PRIVATE
        GTest::gtest_main
        pthread
        grpc++
        proto-objects
        kvcache_service
        common_lib
)

enable_testing()
add_test(NAME ServiceTest COMMAND ServiceTest)